package com.mzlalal.donate.service;

import com.mzlalal.donate.model.Donate;
import com.mzlalal.donate.model.comm.Results;

/**
 * @description:
 * @author: Mzlalal
 * @date: 2019/12/28 17:44
 * @version: 1.0
 */
public interface DonateService {

    /**
     * 插入捐赠记录
     * @param token  唯一请求标识
     * @param donate 捐赠信息
     * @return 1 成功 0失败
     */
    Results insertDonateRecord(String token, Donate donate);
}
